import { Checkbox as AntCheckbox } from 'antd'

type CheckboxProps = React.ComponentProps<typeof AntCheckbox>

export const Checkbox = (props: CheckboxProps) => {
  return <AntCheckbox {...props} />
}

const { Group } = AntCheckbox
type GroupProps = React.ComponentProps<typeof Group>

export const CheckboxGroup = (props: GroupProps) => {
  return <Group {...props} />
}
